<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>jQuery快速入门</title>
    <script src="js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div id="div1">div1****</div>
<div id="div2">div2****</div>
<script>
    //使用jquery,获取元素对象
    var div1 = $("#div1");

    alert(div1.html())//和.innerHTML不一样
</script>
</body>
</html>